<template>
	<div class="wy-main corp-overview">
		<router-link to="/corp/overview/Overview">
			<a>返回</a>
		</router-link>
		<a-row class="wy-main-title">
			<a-col :span="24">
				<p class="title-p">
					<a-divider class="title-vertical"  type="vertical" />
					<span class="title-span" >关注主页的用户</span>
					<a-divider class="title-divider"  />
				</p>
			</a-col>
		</a-row>
		<a-table :columns="columns" :dataSource="data">
			<a slot="name" slot-scope="text" href="javascript:;">{{text}}</a>
			<span slot="customTitle">头像</span>
		</a-table>
	</div>
</template>
<script>
	const columns = [
	{
		dataIndex: 'name',
		key: 'name',
		slots: {
			title: 'customTitle'
		},
		scopedSlots: {
			customRender: 'name'
		},
	}, {
		title: '姓名',
		dataIndex: 'address',
		key: 'address',
	}, ];

	const data = [{
		key: '1',
		name: 'John Brown',
		age: 32,
		address: 'New York No. 1 Lake Park',
		tags: ['nice', 'developer'],
	}, {
		key: '2',
		name: 'Jim Green',
		age: 42,
		address: 'London No. 1 Lake Park',
		tags: ['loser'],
	}, {
		key: '3',
		name: 'Joe Black',
		age: 32,
		address: 'Sidney No. 1 Lake Park',
		tags: ['cool', 'teacher'],
	}];

	export default {
		data() {
			return {
				data,
				columns,
			}
		}
	}
</script>

<style lang="less" scoped>
	.corp-overview {
	}
</style>